package com.wtwd.campus.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wtwd.campus.entity.Classes;
import com.wtwd.campus.entity.ExcelImportStudentInfo;
import com.wtwd.campus.entity.Grade;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author mjy
 * @date 2021/06/18
 * @description
 */
@Mapper
public interface ClassesMapper extends BaseMapper<Classes> {
    List<Map<String, Object>> getClassesIdAndClassNameByGradeId(Integer gradeId);

    Classes getClassesInfoByCondition(@Param("orgCode") String orgCode, @Param("excelImportStudent") ExcelImportStudentInfo excelImportStudent);
}
